﻿using System.Collections.ObjectModel;

namespace FbHelperWP7NonUi.TextHelpers
{
    public abstract class Book
    {
        protected Book( string title, ReadOnlyCollection<Human> authors, ReadOnlyCollection<AbstractTextPart> text )
        {
            Title = title;
            Authors = authors;
            Text = text;
        }

        public string Title
        {
            get;
            private set;
        }

        public ReadOnlyCollection<Human> Authors
        {
            get;
            private set;
        }

        public ReadOnlyCollection<AbstractTextPart> Text
        {
            get;
            private set;
        }
    }
}
